package com.thesis.object;

/**
 * DishDetailAddBill class
 * save detail of dish to bill
 * 
 * @author NgocTuyen
 *
 */
public class DishDetailAddBill {
	//detail of dish to bill
	private int id;
	private int number;
	private String foodNote;
	
	/**
	 * Constructor function
	 * 
	 * Constructor
	 * 
	 * @access public
	 * 
	 * @param id: id of dish order
	 * @param number: number of dish order
	 * @param foodNote: note of dish order
	 * 
	 * @return void
	 */
	public DishDetailAddBill(int id, int number, String foodNote){
		this.setId(id);
		this.setNumber(number);
		this.setFoodNote(foodNote);
	}

	/**
	 * getId function
	 * 
	 * get id of dish order
	 * 
	 * @access public 
	 * 
	 * @param null
	 * 
	 * @return int: id of dish order
	 */
	public int getId() {
		return id;
	}

	/**
	 * setId function
	 * 
	 * set id of dish order
	 * 
	 * @access public
	 * 
	 * @param id: id of dish order
	 * 
	 * @return null
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * getNumber function
	 * 
	 * get number of dish order
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return int: number of dish order
	 */
	public int getNumber() {
		return number;
	}

	/**
	 * setNumber function
	 * 
	 * set number of dish order
	 * 
	 * @access public
	 * 
	 * @param number
	 * 
	 * @return void
	 */
	public void setNumber(int number) {
		this.number = number;
	}

	/**
	 * getFoodNote function
	 * 
	 * get note of dish order
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String: note of dish order
	 */
	public String getFoodNote() {
		return foodNote;
	}

	/**
	 * setFoodNote function
	 * 
	 * set note of dish id
	 * 
	 * @access public
	 * 
	 * @param foodNote
	 * 
	 * @return null
	 */
	public void setFoodNote(String foodNote) {
		this.foodNote = foodNote;
	}
}
